import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import 'normalize.css'
import './index.css'
import {HashRouter} from 'react-router-dom'
import {  ConfigProvider } from 'antd';
import './utils/init-leancloud-sdk.ts' //调用LeanCloudSDK初始化
createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <HashRouter>
    <ConfigProvider
      theme={{
        token: {
          // Seed Token，影响范围大
          colorPrimary: '#4907cd',
          borderRadius: 20,
          fontSizeIcon:14,
          margin:10,

          // 派生变量，影响范围小
          // colorBgContainer: '#f6ffed',
        },
      }}
    >
      <App />
    </ConfigProvider>
      
    </HashRouter>
  </StrictMode>,
)
